﻿#include "taskmanager.h"

namespace yc {

TaskManager::TaskManager(QObject* parent) : TaskManager(1, parent) { }

TaskManager::TaskManager(int parallel_count, QObject* parent)
    : TaskGroup(parallel_count, 0, false, 0, parent)
{
    setIgnoreErrors(true);
    setKeepRunning(true);
    start();
}

} // namespace yc
